package com.jianguo.user.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianguo.common.core.domain.BaseEntity;
import com.jianguo.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 用户地址对象 pz_user_address
 *
 * @author xjj
 * @date 2024-03-26
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PzUserAddress extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /** 客户id */
    @Excel(name = "客户id")
    private String userId;
    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 电话 */
    @Excel(name = "电话")
    private String mobile;
    /** 省名称 */
    @Excel(name = "省名称")
    private String province;
    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;
    /** 市名称 */
    @Excel(name = "市名称")
    private String city;
    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;
    /** 区名称 */
    @Excel(name = "区名称")
    private String area;
    /** 区编码 */
    @Excel(name = "区编码")
    private String areaCode;
    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detail;
    /**  */
    @Excel(name = "")
    private Long status;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("name", getName())
                .append("mobile", getMobile())
                .append("province", getProvince())
                .append("provinceCode", getProvinceCode())
                .append("city", getCity())
                .append("cityCode", getCityCode())
                .append("area", getArea())
                .append("areaCode", getAreaCode())
                .append("detail", getDetail())
                .append("createTime", getCreateTime())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("createBy", getCreateBy())
                .append("deleted", getDeleted())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("updateBy", getUpdateBy())
                .append("deleted", getDeleted())
                .append("remark", getRemark())
                .toString();
    }
}
